UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The snmpd service must not use a default password.


Overview

Finding ID Version Rule ID IA Controls Severity
RHEL-06-000341 RHEL-06-000341 RHEL-06-000341_rule Medium
Description
Presence of the default SNMP password enables querying of different system aspects and could result in unauthorized knowledge of the system.
STIG Date
Red Hat Enterprise Linux 6 Security Technical Implementation Guide 2013-02-05

Details

Check Text ( C-RHEL-06-000341_chk )
To ensure the default password is not set, run the following command:

# grep -v "^#" /etc/snmp/snmpd.conf| grep public

There should be no output.
If there is output, this is a finding.
Fix Text (F-RHEL-06-000341_fix)
Edit "/etc/snmp/snmpd.conf", remove default community string "public". Upon doing that, restart the SNMP service:

# service snmpd restart